package cn.jiyun.ai.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("p_question")
public class Question {
    @TableId(type= IdType.AUTO)
    private Integer id;

    @TableField("title")
    private String title;

    @TableField("picture")
    private String picture;

    @TableField("search_count")
    private Integer searchCount;

    @TableField("comment_count")
    private Integer commentCount;

    @TableField("type")
    private Integer type;
}
